package models

import "time"

type ExchangeRate struct {
	ID           uint      `grom:"primaryKey" json:"_id"`
	FromCurrency string    `json:"fromCurrency" binging:"required"`
	ToCurrency   string    `json:"toCurrency" binging:"required"`
	Rate         float64   `json:"rate" binging:"required"`
	Date         time.Time `json:"date"`
}
